package com.company.management.service.reward;

import com.baomidou.mybatisplus.extension.service.IService;
import com.company.management.domain.reward.FileInfo;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;

/**
 * 文件上传接口
 */
public interface SysFileService extends IService<FileInfo> {
    /**
     * 文件上传接口
     * 
     * @param file 上传的文件
     * @return 访问地址
     * @throws Exception
     */
     String uploadFile(MultipartFile file);
     /**
      * @Description: 下载文件
      * @Author: wangbin
      * @Date: 2025/3/3 21:24
      **/
     void downloadFile(String fileId, HttpServletResponse response);
}